%removesvnfrompath
x=path;
semis=[0 strfind(x,';')];
y={};
for i = 1:length(semis)-1
    y{i}=x(semis(i)+1:semis(i+1)); %#ok<SAGROW>
end
y=y';
svns=findincell(y,'.svn');
rmpath(y{svns});%remove '*.svn'
